//
//  ZCDiscoverController.swift
//  weibo
//
//  Created by 张城 on 16/7/19.
//  Copyright © 2016年 张城. All rights reserved.
//

import UIKit

class ZCDiscoverController: ZCBaseController {

    override func viewDidLoad() {
        super.viewDidLoad()
        if !islogon {
            bgview?.setupVisiterView("登录后，最新、最热微博尽在掌握，不再会与实事潮流擦肩而过", imgName: "visitordiscover_image_message")
            return
        }
        setupSearchViewUI()
    }
    
    func setupSearchViewUI() {
        navigationItem.titleView = ZCSearchView()
    }
}
